package sunlight.database;

/**
 * exceptie pentru a semnaliza o problema de conexiune cu baza de date; 
 * respectiv, cel mai probabil situatiile se pierde conexiunea cu SGBD-ul asociat
 * 
 * @author Adrian &#350;ilimon
 * @version 1.0
 */
public class DBConnectionLostException extends Exception {

	/**
	 * serialVersionUID = 5862806229288950276L;
	 */
	private static final long serialVersionUID = 5862806229288950276L;
	
	/**
	 * returneaza un mesaj specific exceptiei
	 * @return String
	 */
	public String toString(){
		return super.toString()+ ".DBConnectionLostException: There was a communication problem with the database. Most probably the connection to the database was lost";
	}
}
